<div>
    <script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl . '/js/mobile/highcharts.js' ?>"></script>
    <p><?php echo $analyseIntervaFrequencyl['chartTitle']; ?></p>
    <p style="margin-top: 60px;float: left;width: 20px;"><?php echo $analyseIntervaFrequencyl['Y_axis']; ?></p>
    <canvas id="chart-line-analyseIntervaFrequencyl" width="300" height="200"></canvas>
    <p style="margin-left: 150px;"><?php echo $analyseIntervaFrequencyl['X_axis']; ?> </p>;
    <script>
        var analyseIntervaFrequencylData = {
            labels: [<?php
foreach ($analyseIntervaFrequencyl['chartData'] as $key => $value) {
    echo $key . ',';
}
?>],
            datasets: [
                {
                    label: "My Second dataset",
                    fillColor: "rgba(151,187,205,0.2)",
                    strokeColor: "rgba(151,187,205,1)",
                    pointColor: "rgba(151,187,205,1)",
                    pointStrokeColor: "#fff",
                    pointHighlightFill: "#fff",
                    pointHighlightStroke: "rgba(151,187,205,1)",
                    data: [<?php
                    foreach ($analyseIntervaFrequencyl['chartData'] as $key => $value) {
                        echo $value . ',';
                    }
                    ?>]
                }
            ]
        };
        function addChartAnalyseIntervaFrequencyl() {

            var analyseIntervaFrequencyl = document.getElementById("chart-line-analyseIntervaFrequencyl").getContext("2d");
            var myAnalyseIntervaFrequencylLineChart = new Chart(analyseIntervaFrequencyl).Line(analyseIntervaFrequencylData, {
                segmentShowStroke: true
            });
        };
        addChartAnalyseIntervaFrequencyl();
    </script>

</div>